<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/29
 * Time: 14:01
 */

namespace app\api\controller\v1;


use app\api\service\UserTokenService;
use think\Controller;

class Token extends Controller
{

    public function getToken($code){
        $userService = new UserTokenService($code);
        $re = $userService->get();
        return $re;
    }

}